
#include "zAdAChar.h"
#ifndef ZMGDHOST_H
#define ZMGDHOST_H 1
#pragma once

class UcDbManagedHost
{
public:
    virtual int version() { return 1;}
    virtual Ucad::ErrorStatus load(const ZTCHAR * fname)=0;
};

UcDbManagedHost* ZSOFT_STDCALL ucdbGetManagedHost();
Ucad::ErrorStatus ZSOFT_STDCALL ucdbSetManagedHost(UcDbManagedHost* pHost);

UCDB_PORT HRESULT ZSOFT_STDCALL ucdbInitializeManagedLayer();
UCDB_PORT HRESULT ZSOFT_STDCALL ucdbTerminateManagedLayer();

#endif 
